﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Mvc.Models.ViewModels;
using MvcEngine.Blog.Models.Entities;
using MvcEngine.Mvc.Models;

namespace MvcEngine.Blog.Models
{
    public class BlogDataSettingsViewModel : MvcEngineModel
    {
        public Guid BlogId { get; set; }

        public string Name { get; set; }

        [MvcEngineDisplayName("BlogNameLabel")]
        public string BlogName { get; set; }

        [MvcEngineDisplayName("BlogDescriptionLabel")]
        public string BlogDescription { get; set; }

        [MvcEngineDisplayName("PostsPerPageLabel")]
        public int PostsPerPage { get; set; }

        [MvcEngineDisplayName("AllowCommentsLabel")]
        public bool AllowComments { get; set; }

        [MvcEngineDisplayName("ShowCaptchaLabel")]
        public bool ShowCaptcha { get; set; }

        [MvcEngineDisplayName("DaysCommentsAreEnabledLabel")]
        public int DaysCommentsAreEnabled { get; set; }

        [MvcEngineDisplayName("PostsInRssLabel")]
        public int PostsInRss { get; set; }

        [MvcEngineDisplayName("HtmlHeaderLabel")]
        public string HtmlHeader { get; set; }

        [MvcEngineDisplayName("EmailLabel")]
        public string Email { get; set; }

        [MvcEngineDisplayName("SmtpServerLabel")]
        public string SmtpServer { get; set; }

        [MvcEngineDisplayName("SmtpServerPortLabel")]
        public int SmtpServerPort { get; set; }

        [MvcEngineDisplayName("SmtpUserNameLabel")]
        public string SmtpUserName { get; set; }

        [MvcEngineDisplayName("SmtpPasswordLabel")]
        public string SmtpPassword { get; set; }

        [MvcEngineDisplayName("SendMailOnCommentLabel")]
        public bool SendMailOnComment { get; set; }

        [MvcEngineDisplayName("EmailSubjectPrefixLabel")]
        public string EmailSubjectPrefix { get; set; }
    }
}
